/*
 * @Project Name: spring-boot
 * @File Name: UserService
 * @Package Name: com.hhly.spring.boot.cache
 * @Date: 2017/12/13 17:52
 * @Creator: linshixing-1199
 * @line------------------------------
 * @修改人:
 * @修改时间:
 * @修改内容:
 */

package com.sm.shoplook.service.suit;

import com.github.pagehelper.PageInfo;
import com.sm.shoplook.domain.suit.Suit;
import com.sm.shoplook.vo.base.ApiException;
import com.sm.shoplook.vo.base.ApiResult;
import com.sm.shoplook.vo.discover.req.DisCoverPageSearchVo;
import com.sm.shoplook.vo.suit.front.resp.ApiSuitListRespVo;
import com.sm.shoplook.vo.suit.front.resp.SuitPageRespVo;

import java.util.List;
import java.util.Map;

/**
 * @author chenpy-1072
 * @desc 套装
 * @date 2018/08/13
 * @see
 */
public interface ApiSuitService {

	ApiResult<Integer> saveSuit(Suit suit) throws ApiException;

	ApiResult<List<ApiSuitListRespVo>> selectCategorySuitByCustomerId(Integer customerId);

	ApiResult<PageInfo<SuitPageRespVo>> selectSuitePage(DisCoverPageSearchVo disCoverPageSearchVo);

	ApiResult<Suit> selectSuitById(Integer id);

	ApiResult<Map<String, Object>> statisCustomerSuits(Integer customerId, Integer suitId, Integer status);

    ApiResult<PageInfo<SuitPageRespVo>> selectAllSuitByCustomerId(DisCoverPageSearchVo disCoverPageSearchVo);

    ApiResult deleteSuit(Integer id);

    ApiResult<List<SuitPageRespVo>> getMyCollect(Integer customerId);
}
